<?php

/**
 * file:GameCore.php
 * This file is part of J-Game.
 * @link https://www.liangboceo.com
 * @document https://doc.liangboceo.com
 * @contact 173120209@qq.com
 * @autho:jackliang
 */
require_once dirname(__DIR__) . '/vendor/autoload.php';
require_once dirname(__DIR__) . '/config/define.php';

// init the factory of bean
\Swoft\Bean\BeanFactory::init();
/* @var \Swoft\Bootstrap\Boots\Bootable $bootstrap*/
$bootstrap = \Swoft\App::getBean(\Swoft\Bootstrap\Bootstrap::class);
$bootstrap->bootstrap();